<?xml version='1.0' encoding='UTF-8' ?>
<!--
    Document   : welcomeICEfaces
    Created on : 24/05/2011, 22:38:56
    Author     : Edmilson
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:icecore="http://www.icefaces.org/icefaces/core"
      xmlns:ace="http://www.icefaces.org/icefaces/components"
      xmlns:ice="http://www.icesoft.com/icefaces/component"
      xmlns:comp="http://facelets.componentes.com"
      >
    <h:head>
        <title>Login</title>
        
    </h:head>
    
    <h:body styleClass="ice-skin-rime" style="background-image: url(resources/bg.jpg)" >
        <h:form id="form" >  
            
            <div style="  position:absolute; top:40%; left:40% ; margin-top:-60px; margin-left:-70px; width: 350px; height: 250px;  background-image:url(resources/login.png) ">
                <ice:panelGroup  style="  margin-top: 80px; margin-left: 40px" >
                    <ice:panelGrid style="text-align: center;" columns="2">
                        <ice:outputText  value="Usuário:" style="font-family: sans-serif"/>
                        <ice:inputText id="j_username" style="width:200px " value="#{login.j_username}"/>
                    </ice:panelGrid>
<br/>
                    <ice:panelGrid style="text-align: center;" columns="2">
                        <ice:outputText value="Senha:" style="font-family: sans-serif" />
                        <ice:inputSecret actionListener="#{login.login}" id="j_password" redisplay="true" style="margin-left: 9px; width: 200px" value="#{login.j_password}"/>
                    </ice:panelGrid>
                    <br/>
                    <br/>
                    <ice:commandButton actionListener="#{login.login}" style="margin-left: 160px"  image="resources/btLogin.png"  />
                  
                </ice:panelGroup>
                <ice:panelGroup  style="margin-left: 40px;  width: 330px" >
                    <ice:messages errorClass="errorMessage" fatalClass="fatalMessage" globalOnly="true"  infoClass="infoMessage"
                                  showDetail="true" style=" color: white; font-family: Arial,Helvetica,sans-serif; font-size: 12px; position: relative; " warnClass="warnMessage"/>
                </ice:panelGroup>


            </div>





        </h:form>
    </h:body>

</html>